home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / mysql-4.0.22-win / data1.cab / Development / sql-bench / Results / insert-pg-Linux_2.0.36_i686-cmp-mysql,pg,solid < prev    next >
Encoding:
Text File  |  2004-10-28  |  4.2 KB  |  73 lines

  1. Testing server 'PostgreSQL 6.4' at 1999-03-09 19:30:50
  2.  
  3. Testing the speed of inserting data into 1 table and do some selects on it.
  4. The tests are done with a table that has 100000 rows.
  5.  
  6. Generating random keys
  7. Creating tables
  8. Inserting 100000 rows in order
  9. Inserting 100000 rows in reverse order
  10. Inserting 100000 rows in random order
  11. Time for insert (300000): 1011 wallclock secs (169.92 usr 19.49 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  12.  
  13. Testing insert of duplicates
  14. Time for insert_duplicates (300000): 164 wallclock secs (46.42 usr  5.41 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  15.  
  16. Retrieving data from the table
  17. Time for select_big (10:3000000): 113 wallclock secs (26.65 usr  1.59 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  18. Time for order_by_key (10:3000000): 265 wallclock secs (26.66 usr  1.20 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  19. Time for order_by (10:3000000): 269 wallclock secs (26.89 usr  1.27 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  20. Note: Query took longer then time-limit: 600
  21. Estimating end time based on:
  22. 90 queries in 90 loops of 5000 loops took 609 seconds
  23. Estimated time for select_range_prefix (5000:756): 33833 wallclock secs ( 6.11 usr  0.56 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  24. Note: Query took longer then time-limit: 600
  25. Estimating end time based on:
  26. 90 queries in 90 loops of 5000 loops took 609 seconds
  27. Estimated time for select_range (5000:756): 33833 wallclock secs ( 2.78 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  28. Note: Query took longer then time-limit: 600
  29. Estimating end time based on:
  30. 187952 queries in 93976 loops of 100000 loops took 601 seconds
  31. Estimated time for select_key_prefix (200000): 639 wallclock secs (123.46 usr 13.29 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  32. Note: Query took longer then time-limit: 600
  33. Estimating end time based on:
  34. 189328 queries in 94664 loops of 100000 loops took 601 seconds
  35. Estimated time for select_key (200000): 634 wallclock secs (122.95 usr 13.45 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  36.  
  37. Test of compares with simple ranges
  38. Note: Query took longer then time-limit: 600
  39. Estimating end time based on:
  40. 520 queries in 13 loops of 500 loops took 629 seconds
  41. Estimated time for select_range_prefix (20000:1131): 629 wallclock secs ( 0.13 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  42. Note: Query took longer then time-limit: 600
  43. Estimating end time based on:
  44. 520 queries in 13 loops of 500 loops took 626 seconds
  45. Estimated time for select_range (20000:1131): 626 wallclock secs ( 0.23 usr  0.03 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  46. Time for select_group (101): 5594 wallclock secs ( 0.07 usr  0.04 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  47. Note: Query took longer then time-limit: 600
  48. Estimating end time based on:
  49. 1080 queries in 180 loops of 500 loops took 603 seconds
  50. Estimated time for min_max_on_key (3000): 1675 wallclock secs ( 1.28 usr  0.08 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  51. Time for min_max (60): 49 wallclock secs ( 0.04 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  52. Time for count_on_key (100): 148 wallclock secs ( 0.06 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  53. Time for count (100): 156 wallclock secs ( 0.04 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  54.  
  55. Testing update with functions
  56. Time for update_key (500):  443 wallclock secs ( 0.23 usr  0.03 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  57. Time for update_key_big (501): 978 wallclock secs ( 0.34 usr  0.06 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  58.  
  59. Testing delete
  60. Time for delete_key (500): 634 wallclock secs ( 0.32 usr  0.09 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  61. Time for delete_big (12): 43 wallclock secs ( 0.01 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  62.  
  63. Insert into table with 7 keys and with a primary key with 7 parts
  64. Time for insert_key (100000): 944 wallclock secs (57.30 usr  6.79 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  65.  
  66. Testing update of keys
  67. Time for update_of_primary_key_many_keys (256): 3569 wallclock secs ( 0.14 usr  0.03 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  68.  
  69. Deleting everything from table
  70. Time for delete_big (2): 33 wallclock secs ( 0.00 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  71.  
  72. Estimated total time: 133319 wallclock secs (625.54 usr 64.54 sys +  0.00 cusr  0.00 csys =  0.00 CPU secs)
  73.